﻿using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T_Foundation.Domain
{
    /// <summary>
    /// 车辆管理
    /// </summary>
    [Table("VehicleManagement")]
    public class VehicleManagement:Audit
    {
        /// <summary>
        /// 自增标识列
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 厂牌型号
        /// </summary>
        public string? FactoryModel { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicenseNumber { get; set; }

        /// <summary>
        /// 司机姓名
        /// </summary>
        public string? DriversName { get; set; }

        /// <summary>
        /// 所属公司
        /// </summary>
        public string? SubordCompan { get; set; }

        /// <summary>
        /// 车型
        /// </summary>
        public string? VehicleModel { get; set; }

        /// <summary>
        /// 车辆颜色
        /// </summary>
        public string? VehicleColor { get; set; }

        /// <summary>
        /// 购置日期
        /// </summary>
        public DateTime? Datequisition { get; set; }

        /// <summary>
        /// 营运证号
        /// </summary>
        public string? BusinNumber { get; set; }

        /// <summary>
        /// 保险到期日期
        /// </summary>
        public DateTime? LnsurDate { get; set; }

        /// <summary>
        /// 年检到期日期
        /// </summary>
        public DateTime? AnnuDate { get; set; }

        /// <summary>
        /// 保养公里设置
        /// </summary>
        public int? MainSettings { get; set; }

        /// <summary>
        /// 车辆照片
        /// </summary>
        public string? VehiclePhoto { get; set; }

        /// <summary>
        /// 保险卡照片
        /// </summary>
        public string? InsuranPhoto { get; set; }
    }
}
